repo: Fix the skip-summary-if-summary.sig-is-same cache
authorAlexander Larsson <alexl@redhat.com>
Tue, 15 Mar 2016 11:04:43 +0000 (12:04 +0100)
committerAlexander Larsson <alexl@redhat.com>
Tue, 15 Mar 2016 11:04:43 +0000 (12:04 +0100)
This code was always downloading the summary even for a cache hit due
to a missing else.

src/libostree/ostree-repo.c

index facc33241a985153be2f48f0fbd9913af47f5aa5..9352f5cfd304394f81df28826c2f9034ca2a01e2 100644 (file)
@@ -1803,6 +1803,7 @@ repo_remote_fetch_summary (OstreeRepo    *self,
 
   if (*out_summary)
     from_cache = TRUE;
+  else
     {
       if (!_ostree_preload_metadata_file (self,
                                           fetcher,